package cc.mrbird.febs.buss.entity;


import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 子项 Entity
 *
 * @author Lujingyuan
 * @date 2020-04-23 11:18:11
 */
@Data
@TableName("sum_item")
public class SumItem {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 名称
     */
    @TableId(value = "name", type = IdType.AUTO)
    private String name;

    /**
     * 主项
     */
    @TableField("main_item_id")
    private Long mainItemId;

    @TableField(exist = false)
    private String mainItemName;

    @TableField(exist = false)
    private String departName;

}
